#coding=utf-8

from django.conf.urls import url
import views

urlpatterns=[
    url('^$' , views.welcome, name= 'welcome' ),
    url('^news/$', views.IndexView.as_view(), name= 'news'),
    url('^index/$', views.AllView.as_view(), name= 'index'),
    url('^index/(\w+)/$', views.SiteView.as_view()),
]